// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import 'element-ui/lib/theme-chalk/index.css';
import router from './router'
import Axios from 'axios'

import { Button, Select, Switch, Message, Option, Icon } from 'element-ui'
// import "./assets/font/iconfont.css"
import qs from 'qs'
import defaultStore from "./store"
const store = defaultStore();
//地图
import BaiduMap from 'vue-baidu-map'

Vue.use(BaiduMap, {
  /* Visit http://lbsyun.baidu.com/apiconsole/key for details about app key. */
  ak: 'YOUR_APP_KEY'
})


Vue.prototype
Vue.use(Button)
Vue.use(Select)
Vue.use(Option)
Vue.use(Icon)
Vue.use(Switch)
// Vue.use(Message)



Vue.prototype.$axios = Axios

Vue.prototype.HOST = '/burning_api'
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
